Skip to content

feat(driver-sql, driver-turso): schema sync indexes (created_at, id) and owner_id without a declaration - #34044

Merged
objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/area-A4-33695
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 9 commits into
mainfrom
claude/area-A4-33695

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Fixes #33695

Clause-②: yes (widening)
Metadata-protocol: none

维护者速读

What changes

The schema sync's implicit index set (schema-drift.ts, seeded by #31882) gains two system-column keys after the reference indexes. This follows the maintainer ruling 「两个都加」 quoted on #33695.

  • (created_at, id), named idx_TABLE_created_at_id, on every table that physically has both builtin columns.
  • (owner_id), named idx_TABLE_owner_id, on an object whose fields carry a stored, single-valued owner_id. An object with no owner_id gets no such index.

Both are non-unique and take no organization key part. A declared index whose key already STARTS WITH the whole system key serves instead: a declared (created_at) alone does not. A declaration of the same key converges on the same name.

Three seams carry the set:

  • sql-driver-rotation.ts (approved surface extension): the boot sync opened syncTableIndexes only for objects with a unique field, an implicit reference, or declared indexes. An object with none of these would never have been given (created_at, id), while the differ expected it on every boot. The sync now opens on the implicit set itself.
  • sql-driver-managed-drift.ts (approved surface extension, one argument): syncTableIndexes passes physicalColumns to implicitReferenceIndexes. An adopted table without a created_at column is not asked to build an index it cannot have. Without this, every boot would write a false "index NOT created" line at durability level error.
  • driver-turso/src/remote-transport.ts: the remote face's buildDeclaredIndexDDL composed only field-level unique and declared indexes. It never composed the driver-sql: master_detail and lookup columns get no index, so every controlled_by_parent read and every by-parent filter scans the detail table (114 ms → 1.1 ms with one index at 1M rows) #31882 reference indexes, while the drift differ (shared, run on both faces) expected them. It now appends implicitReferenceIndexes(...) against the columns it materialized. @objectstack/driver-sql exports implicitReferenceIndexes for this.

SQLite and #33696. This PR adds the SQLite index too, so landing waits for PR #33897 (#33696), or the two land together. That follows the card's "SQLite: land with or after the R4 card". On PostgreSQL this PR pays off alone. I did not gate SQLite by dialect. A dialect-gated set would split the one composition that the sync, the differ and both Turso faces share, and nothing measured a harm from the SQLite index: at 1M rows the chained page is unchanged (1.97 s → 1.73 s, same plan).

Tests

  • New file packages/drivers/driver-sql/src/sql-driver-33695-system-column-indexes.test.ts (13 tests; the live PG cells ran) pins:
    • the expected set: both keys, no owner index without owner_id, the cover-by-prefix rule, name convergence, multi-valued and formula owner_id skipped, and no index or unbuildable report on a table with no created_at;
    • the SQLite boot sync: a fresh table, including an object with nothing else to index; an earlier release's table planned as safe create_index, then built, then a silent third sync; an adopted table without created_at with no index, no error line and no drift;
    • plans on SQLite and live PG: the default-ordered page reads idx_os33695_deal_created_at_id and the owner read reads idx_os33695_deal_owner_id;
    • PG's existing-table path: the concurrent build, then empty drift.
  • New file packages/drivers/driver-turso/src/turso-33695-implicit-index-parity.test.ts pins that the local and remote faces land the same names and key parts, with none on created_by, and that the remote plan after a remote sync proposes no index.
  • Existing pins updated where the new index is now part of the set they enumerate: sql-driver-31882-* (owner_id is now indexed), sql-driver-schema, sql-driver-20432-*, sql-driver-11321-*, turso-local-remote-declared-index-parity, turso-remote-deferred-ddl, turso-remote-drift-apply-limit and turso-remote-migration-entries.
Suites on the final head (merge of origin/main), and the ablations

Under os-verify-lock, at head 5594216903 (after merging origin/main, then a driver-turso... closure build):

pnpm --filter @objectstack/driver-sql typecheck      SQL_TC_OK
pnpm --filter @objectstack/driver-turso typecheck    TURSO_TC_OK
driver-sql  Test Files 264 passed | 4 skipped (268) · Tests 5434 passed | 126 skipped (5560) · live postgres RAN
driver-turso Test Files 98 passed (98) · Tests 2543 passed | 34 skipped (2577)
VERDICT command-exit 0

Each ablation went through scripts/ablation-replace.mjs (anchor 1 → 0, blob moved, restored from HEAD) and turned the pin red:

  • A1: rotation gate closed for an object with nothing else to index. Red: "a new table gets both keys; an object with nothing else to index still gets (created_at, id)", plus the earlier-release and plan pins.
  • A2: physicalColumns dropped from syncTableIndexes. Red: "an adopted table with no created_at column" (expected "vi.fn()" to not be called at all, but actually been called 1 times, the durability error line).
  • A3: owner_id presence check dropped. 5 red, including "skips a multi-valued or formula owner_id" and "a table without a created_at column … reports nothing unbuildable".
  • A4: cover rule weakened to the leading column. Red: "a declared index whose key STARTS WITH the whole system key replaces it…".
  • A5: Turso remote mirror filtered out. Red: both parity pins (os33695_deal: expected { …(1) } to deeply equal { …(4) }; remote plan expected [ …(4) ] to deeply equal []).

Acceptance notes

  • Write cost NOT MEASURED. Every managed table carries one more index, and an owned one two. The insert and update cost of maintaining them was not benched here.
  • Tenancy. On a multi-tenant database, the default list adds organization_id = ?. PostgreSQL then reads (created_at, id) backward and filters by organization, which is fine while one tenant dominates a table. With many tenants, (organization_id, created_at, id) would serve better. The ruling names (created_at, id), so this PR builds exactly that.
  • The owner index is chosen by selectivity. The bench has two owners (9000 and 1000 accounts), so PostgreSQL reads (created_at, id) for the member's account page instead. The owner_id index pays off as owners multiply, and the card's own reading says so too ("grows with private-object size").
  • Rotation (ADR-0057) objects: a throwaway probe over a rotation object showed empty drift on SQLite (the base name is a view there) and on PG (no rotation support, plain table). The probe was not committed.
  • implicitReferenceIndexes keeps its name although it now returns the system-column keys too. Renaming it would have touched more of sql-driver-managed-drift.ts than the one approved argument.

Verification

M0 bench (`packages/qa/dogfood/bench/sql-perf`), 1M line items, before (`63e47fee`) vs after (this branch), same box

bench.mjs --scale 1000000 --only scoped_list_unfiltered,scoped_account_list,list_filter_sort. The box is shared, so read the milliseconds as indicative and the plans as exact.

PostgreSQL 16 (private cluster, 1M bench_line_item):

scenario who HTTP p50 before → after (ms) page statement before → after (ms)
scoped_list_unfiltered admin 427.4 → 118.8 317.0 → 1.33
list_filter_sort admin 330.8 → 141.7 142.4 → 3.73
scoped_list_unfiltered member 264.9 → 83.3 (member text not disclosed)
list_filter_sort member 252.4 → 122.3 (member text not disclosed)
scoped_account_list member 27.2 → 23.5 (member text not disclosed)

EXPLAIN ANALYZE of the admin page as the engine emits it (chained):

  • before: Parallel Seq Scan + top-N heapsort, 394.8 ms;
  • after: Index Scan Backward using idx_bench_line_item_created_at_id, 0.253 ms.

Unchained: 119.3 → 0.025 ms. The remaining HTTP time is the page's count(*), which no index here serves.

SQLite (better-sqlite3, 1M):

scenario who HTTP p50 before → after (ms)
scoped_list_unfiltered admin 1872.6 → 1808.1
list_filter_sort admin 783.6 → 762.4
scoped_list_unfiltered member 232.6 → 235.9
scoped_account_list member 21.1 → 20.7

EXPLAIN QUERY PLAN:

After schema sync, both dialects list idx_TABLE_created_at_id on every bench table and sys_record_share. idx_TABLE_owner_id appears on every bench object, all of which carry owner_id.

Gates

Derived with node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack, 71 families. The --ran reconciliation: 66 were run locally and each exited 0. check:query-options-erasure hit a 300 s wrapper timeout once and exited 0 on its rerun.

The PR-body gates exited 0 on this body:

  • check-changeset-no-major
  • check-closing-keyword-parity
  • check-adr-0087-registration
  • check-partof-closing-keyword

NOT MEASURED locally, left to CI's Lint & Repo Gates and type-check lanes: check:dts-closure, check:published-files, check:sourcemap-no-sources-content, check:dual-build-cjs-loads and check:type-check-debt. The reason: each needs a declaration build under the shared verify lock, and two 9-minute acquisitions timed out behind another seat's bundle. The typecheck of both touched packages did run against a full declaration build, as shown above.

Dependents, the test files that read indexes or drift through a driver, after a closure build at the final head, all exit 0:

  • cli unit project: 2 files, 21 tests. The other named files are integration tier, CI.
  • metadata-protocol src/migrations/: 359 tests.
  • metadata overlay-index
  • objectql activation-ledger
  • plugin-auth stored-issuer preflight
  • plugin-security permission-set guard
  • service-automation connector guard
  • service-messaging preference reference

pnpm lint is CI's. eslint --no-inline-config on the touched files exited 0.


Generated by Claude Code

🤖 Generated with Claude Code

…and owner_id without a declaration

The implicit index set now carries two system-column keys after the
reference indexes: (created_at, id), the default list order, on every
table that has both columns, and (owner_id) on an object whose fields
carry it. The boot sync builds them, the drift differ expects them, and
Turso's remote face composes the same set.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUg7BKfRBcTPyMxbLh
…s on both dialects and both Turso faces

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUg7BKfRBcTPyMxbLh
…o their own files

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUg7BKfRBcTPyMxbLh
…r index in the index-set pins

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUg7BKfRBcTPyMxbLh
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 15, 2026
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

7 anchor(s) derived from 2 changed package(s); no hand-written page names any of them. ⚠️ 1 changed file(s) yielded no anchor (packages/drivers/driver-sql/src/index.ts), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

What this run could not see
  • 1 changed file(s) yielded no anchor (packages/drivers/driver-sql/src/index.ts) — pages documenting those are invisible to this run
  • the SDK route bridge reached 65 of 247 client-bound route-ledger rows — the other 182 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 182: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 123 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 18 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json b4eea885058321e56776ab2b690e4f35e29b7a0c → packageMentionDocs.

Which tree this was computed on

This run read content/docs from 47803a9f12820d082ef0b2e52d2bc2eea42c050a — the merge of head c42e6266edabe140b99083e9d4b7e2e9a54fe897 into base b4eea885058321e56776ab2b690e4f35e29b7a0c, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 47803a9f12820d082ef0b2e52d2bc2eea42c050a && git checkout 47803a9f12820d082ef0b2e52d2bc2eea42c050a
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin b4eea885058321e56776ab2b690e4f35e29b7a0c c42e6266edabe140b99083e9d4b7e2e9a54fe897 && git checkout -B drift-repro b4eea885058321e56776ab2b690e4f35e29b7a0c && git merge --no-ff c42e6266edabe140b99083e9d4b7e2e9a54fe897

node scripts/docs-audit/affected-docs.mjs --json b4eea885058321e56776ab2b690e4f35e29b7a0c

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jUg7BKfRBcTPyMxbLh

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 6148308b535aa0c8401ff786c68fcdeba81c1b8f
Local-runs: none
Scope: packages/drivers/driver-sql/src/index.ts + packages/drivers/driver-sql/src/schema-drift.ts, .changeset/33695-system-column-implicit-indexes.md

① Derived judgments

  • The face is the Clause-②: yes (widening) declaration only. Nothing is under packages/spec/src/** and no path is governed (check-governed-merges = NOT governed), so the owed tier is TIER_DEFAULT.
  • The widening is one name added to @objectstack/driver-sql's . export, implicitReferenceIndexes. The function already existed in schema-drift.ts (driver-sql: master_detail and lookup columns get no index, so every controlled_by_parent read and every by-parent filter scans the detail table (114 ms → 1.1 ms with one index at 1M rows) #31882). The diff exports it and adds one optional argument, physicalColumns?: ReadonlySet<string>. Its argument and return types (DeclaredIndexInput, ExpectedIndex) were already exported from the same entry (index.ts L147, L156), so the emitted .d.ts names no unexported type.
  • With physicalColumns absent, the function returns what it did before for every input. The new key filter applies only when the argument is given, so existing callers are unchanged. No exported name is removed or renamed, and no accepted value is refused.
  • The only new consumer is @objectstack/driver-turso's remote face (remote-transport.ts), a first-party sibling that now reads the composition driver-sql owns instead of duplicating it.

② Semver level

  • patch on both packages is right. Metadata-protocol: none holds: no author-writable key, value or metadata type moves. AGENTS.md step 3: a non-protocol change, widening or breaking, ships patch. No BREAKING banner or ADR-0087 marker is owed for a widening.
  • The changeset's widening sentence matches the diff: export name, entry and argument semantics.

③ Boundary flags

  • The PR adds no id materialisation or in-app join where SQL can push down. The change is DDL composition (index plans), not a read path.
  • Behaviour beyond the export (two implicit indexes built by sync, the remote face building the full implicit set) is the card's ordinary scope. It is judged in the ordinary ACCEPT read, not on this face.
  • Author: objectstack-fleet[bot] (relay pr_create), so no off-relay login to name.

Implemented-by: claude/area-A4-33695
Reviewed-by: session_01QsR2jUg7BKfRBcTPyMxbLh

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jUg7BKfRBcTPyMxbLh

Request: review · PR #34044 · area S2 (A4) · Fixes #33695 · head 6148308b535aa0c8401ff786c68fcdeba81c1b8f (declared final) · reviewer review-b

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jTyY9BGjj9WBi7QgH6

Review claim · head 6148308 · 2026-11-15T17:54Z

review (review-b, areas S2+S4): ordinary ACCEPT read per review-checklist.md; the verdict follows on this PR.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jTyY9BGjj9WBi7QgH6

Review — PASS

Head-sha: 6148308b535aa0c8401ff786c68fcdeba81c1b8f
Area: S2 · Fixes #33695 · ordinary ACCEPT read per review-checklist.md. The only contract face is the Clause-②: yes (widening) declaration. Its TIER_DEFAULT record is the area's own, 6898739480 (PASS), and I read it.

  1. Premise measured, by an M0 bench at 1M rows.
  2. Mechanism, read on the tree.
  3. Ruling followed. 「两个都加」 on schema sync: implicit indexes on the system columns created_at (with id) and owner_id — default list order and private-OWD reads (epic #33631 R3/R11) #33695 names exactly these two keys. The docblock records that it supersedes driver-sql: master_detail and lookup columns get no index, so every controlled_by_parent read and every by-parent filter scans the detail table (114 ms → 1.1 ms with one index at 1M rows) #31882 scope B for these two keys only.
  4. Clause-② yes (widening), Metadata-protocol: none, patch: right.
  5. Tests.
    • The new sql-driver-33695-system-column-indexes.test.ts has 13 tests and its live PostgreSQL cells ran.
    • The new turso-33695-implicit-index-parity.test.ts covers the local/remote parity and an empty remote plan.
    • Eight existing pins now enumerate the new index, and each update is the new row only.
  6. Changeset. Each sentence matches the diff, including CONCURRENTLY on an existing PostgreSQL table and "a second sync makes no changes".
  7. Accepted deviations (Acceptance notes), with no follow-up owed here:
    • The write cost was NOT MEASURED. The ruling took on the cost.
    • The tenancy shape: on many-tenant tables, (organization_id, created_at, id) would serve better, but the ruling names (created_at, id).
    • The owner index is chosen by selectivity, as the card itself expects.
    • The name implicitReferenceIndexes is kept.
  8. Nit. The rotation gate now calls columnInfo and syncTableIndexes for every managed table on every boot, where before it skipped tables with nothing to index. That is one more catalog read per table, and its boot cost is not measured. It is an accepted deviation unless the seat wants a reading.
  9. Check-runs on the head: 36 success, 18 skipped. The one cancelled run is a superseded PR-body guards run; the same check's latest run on this head is success. Nothing has failed or is pending.

The patch-id is 0d57a89c2edfd361c79679b325bc550880f1f780. A clean main merge that keeps it keeps this PASS. Arm only once #33897 has landed, or with it.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUg7BKfRBcTPyMxbLh
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jUg7BKfRBcTPyMxbLh

Test Core (7/8) failed at head 09e848a0 (a main merge of 6148308b with the same 3-dot patch-id 0d57a89c), and the cause is not in this PR. The only failures are two @objectstack/scenarios test/runner/run-date.test.ts cases (run on 2028-02-28 and on 2028-03-31), each Test timed out in 5000ms. That package is outside this diff. It is the #34081 anchor, which has the same signature on #34023, #33887 and #33652, and its fix is #34104. Arming waits on #34104. After it merges, I merge main again and arm on green.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jUg7BKfRBcTPyMxbLh
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:server#5 · zhuangjianguo · session_01QsR2jUg7BKfRBcTPyMxbLh

席位核对

Head-sha: c42e6266edabe140b99083e9d4b7e2e9a54fe897 · 读于 2026-11-15T23:15Z

scbdzhwl pushed a commit to scbdzhwl/objectstack-analysis that referenced this pull request Nov 16, 2026
…ivation-ledger index lists (objectstack-ai#34205)

<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbKnsd8ZLsq9hBbRRm5JvJb2)_

Part of objectstack-ai#34126

Clause-②: no
Metadata-protocol: none
Skills-docs: none

## 维护者速读

- **改了什么**:只改测试。`sql-driver-widened-declared-unique.test.ts` 的 MySQL 8 和
MariaDB 两个 live 单元,在断言激活账本的索引名列表时,补上
`idx_sys_metadata_activation_created_at_id`。
- **为什么改**:PR objectstack-ai#34044(objectstack-ai#33695)让每张受管表都带上隐式的 `(created_at, id)`
索引,表上实际多了这一个索引。这两个单元只在 `Temporal Conformance (live PG + MySQL)` 里跑,而该
job 只在 push 和定时全量里跑,PR CI 和合并队列都不跑,所以 objectstack-ai#34044 没测到。00:10Z 的 4 小时全量(run
43778747333)因此变红。
- **风险与回滚**:断言仍是精确相等,只多了一个确定存在的名字,没有放宽,也没有跳过。回滚即 revert 本 PR。
- **先看**:测试文件里新加的 `DEFAULT_ORDER` 常量,以及两处 `toEqual`。
- **两分钟验证**:等下一次 4 小时全量(或 main 上的 push 运行),看 `Temporal Conformance (live
PG + MySQL)` 是否转绿。
- **需要你做的**:无。区内自审(≤50 行、仅测试、`Clause-②: no`)。

## What changes

The live MySQL 8 cell, `an upgraded MySQL 8 database: the old key
retires safely beside the functional guard`, lists every index on
`sys_metadata_activation` after the safe replace and compares the list
exactly. The 4-hourly full run on main at 00:10Z (run 43778747333, job
133010997457) failed there:

```
- Expected
+ Received
  [
    "PRIMARY",
+   "idx_sys_metadata_activation_created_at_id",
    "uniq_sys_metadata_activation_metadata_type_package_id_name",
    "uniq_sys_metadata_activation_packageless",
  ]
```

The extra name is the `(created_at, id)` index that
`IMPLICIT_SYSTEM_COLUMN_KEYS` gives every managed table since PR objectstack-ai#34044.
It is not a timing budget. The MariaDB cell reads the same list through
the same sync, so it gets the same name. It skips on the MySQL 8 server
CI provisions, which is why only one case went red.

Both lists now name `DEFAULT_ORDER`. The assertion stays exact: nothing
is loosened, filtered or skipped.

## Tests

- Local: `vitest run src/sql-driver-widened-declared-unique.test.ts`: 31
passed, 2 skipped (the two live MySQL cells, because no MySQL server is
available here). ESLint `--no-inline-config` on the file exits 0, and
`check-nul-bytes` exits 0.
- The live cells run only in `Temporal Conformance (live PG + MySQL)`,
which does not run on `pull_request` or `merge_group`. The proof is the
full-run diff above, and the next push run on main or the next 4-hourly
run will confirm it.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- signed: domain:server#5 · zhuangjianguo ·
session_01QsR2jUg7BKfRBcTPyMxbLh -->

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

schema sync: implicit indexes on the system columns created_at (with id) and owner_id — default list order and private-OWD reads (epic #33631 R3/R11)

1 participant